var express = require('express');
var router = express.Router();
var Rights = require('../Controllers/RightsController');

router.get('/getRightsList',Rights.getRightsList);
router.get('/getRoleList',Rights.getRoleList);
router.delete('/deleteRightsRel',Rights.deleteRightsRel);
router.get('/getAllRightsTree',Rights.getAllRightsTree);
router.post('/allowRights',Rights.allowRights);
router.post('/allowUserRole',Rights.allowUserRole);

module.exports = router;
